def username():
    return input("请输入用户名：")


def password():
    return input("请输入密码：")


def login():
    if username() == "admin" and password() == "123456":
        print("登录成功！")
    else:
        print("用户名或密码错误")


login()
